net/netip.parseAddrError.at (field)
14 uses
net/netip (current package)
netip.go#L143: at string // optionally, the unparsed portion of in at which the error occurred.
netip.go#L148: if err.at != "" {
netip.go#L149: return "ParseAddr(" + q(err.in) + "): " + err.msg + " (at " + q(err.at) + ")"
netip.go#L174: return Addr{}, parseAddrError{in: s, msg: "IPv4 field must have at least one digit", at: s[i:]}
netip.go#L185: return Addr{}, parseAddrError{in: s, msg: "unexpected character", at: s[i:]}
netip.go#L246: return Addr{}, parseAddrError{in: in, msg: "IPv6 field has value >=2^16", at: s}
netip.go#L251: return Addr{}, parseAddrError{in: in, msg: "each colon-separated field must have at least one digit", at: s}
netip.go#L258: return Addr{}, parseAddrError{in: in, msg: "embedded IPv4 address must replace the final 2 fields of the address", at: s}
netip.go#L262: return Addr{}, parseAddrError{in: in, msg: "too many hex fields to fit an embedded IPv4 at the end of the address", at: s}
netip.go#L269: return Addr{}, parseAddrError{in: in, msg: err.Error(), at: s}
netip.go#L293: return Addr{}, parseAddrError{in: in, msg: "unexpected character, want colon", at: s}
netip.go#L295: return Addr{}, parseAddrError{in: in, msg: "colon must be followed by more characters", at: s}
netip.go#L302: return Addr{}, parseAddrError{in: in, msg: "multiple :: in address", at: s}
netip.go#L314: return Addr{}, parseAddrError{in: in, msg: "trailing garbage after address", at: s}
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |